<?php
    header('Content-type:text/html;charset=utf-8');
    //PHP赋值运算法
    
    $a = 10;
    
    $a += 5;   // $a = $a + 5;
    
    $a -= 3;   // $a = $a - 3;
    
    $a *= 2;   // $a = $a * 2;
    
    $a /= 6;   // $a = $a / 6; 
    
    $a %= 3;   // $a = $a % 3;
    
    $a .= 'abc';  //  $a = $a.'abc';  1abc
    
    $a .= 'abc';  //  $a = $a.'abc';  1abcabc
    
    echo $a.'<br/>';
    
    $x = 3;
    $y = 5;
    $x += $y;   //$x = $x + $y;  $x的值 8;
    echo $x;
    


?>